package com.zhang.springcloud.ribbonuse.test;

import java.lang.reflect.Type;

/**
 * @author zhanghaolian
 * @date 2021/8/25 22:48
 */
public class A<E> implements I<E>{
    public void a() {
        Class<? extends A> aClass = getClass();
        System.out.println(aClass);

        Type genericSuperclass = getClass().getGenericSuperclass();
        System.out.println(genericSuperclass);
    }
}
